import turtle
import random
poss = [[330, 0], [330, 100], [330, -100]]


def up_goto(dis):
    turtle.up()
    turtle.goto(dis)
    turtle.down()


def move():
    turtle.clear()
    for pos in poss:
        up_goto(pos)
        turtle.dot(30, 'red')
        pos[0] -= random.randint(10, 50)
    turtle.ontimer(move, 500)


turtle.tracer(False)
move()
turtle.done()